#pragma once
#include "../Ode.h"


namespace Skill
{
	namespace Ode
	{
		ref class DVector3;
		namespace Joints
		{
			public ref class DJointFeedback  : DIUnmanagedPointer
			{
				INTERNAL_CLASS_DECLARATION(DJointFeedback,dJointFeedback);
			public:
				UNMANAGEDPOINTER_DECLARATION();

				///<summary>
				/// force applied to body 1
				///</summary>
				REF_PROP_DECLARATION_GETSET(DVector3,Force1);
				///<summary>
				/// torque applied to body 1
				///</summary>
				REF_PROP_DECLARATION_GETSET(DVector3,Torque1);

				///<summary>
				/// force applied to body 2
				///</summary>
				REF_PROP_DECLARATION_GETSET(DVector3,Force2);
				///<summary>
				/// torque applied to body 2
				///</summary>
				REF_PROP_DECLARATION_GETSET(DVector3,Torque2);
			};
		}
	}
}